﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using FwProject.ShoppingMall.Commodity;

namespace FwProject.Commodity.Dto
{
    /// <summary>
    /// 商品评论
    /// </summary>
    [AutoMap(typeof(CommodityReviews))]
    public class CommodityReviewsShopDetailsDto : EntityDto<Guid>
    {
       
        /// <summary>
        /// 评论人编号
        /// </summary>
        [Display(Name = "评论人编号")]
        public long Reviewsid { get; set; }
        /// <summary>
        /// 评论人用户名
        /// </summary>
        [Display(Name = "评论人用户名")]
        public string ReviceName { get; set; }


        [Display(Name = "评论人头像")]
        public string UserFaceImage { get; set; }
        /// <summary>
        /// 评论内容
        /// </summary>
        [Display(Name = "评论内容")]
        public string RevicwsContent { get; set; }

        /// <summary>
        /// 描述相符评分0-5
        /// </summary>
        [Display(Name = "评分")]
        public int CommentScore { get; set; }

        /// <summary>
        /// 服务评分0-5
        /// </summary>
        [Required]
        public int ServiceCommentScore { get; set; }

        public DateTime CreationTime { get; set; }

        public List<CommodityReviewsImageDto> ImageDtos { get; set; }
    }
  
}
